CLASS zcl_formtemplate_01 DEFINITION
  PUBLIC
  FINAL
  CREATE PUBLIC .

  PUBLIC SECTION.

    INTERFACES if_oo_adt_classrun .
  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.



CLASS ZCL_FORMTEMPLATE_01 IMPLEMENTATION.


  METHOD if_oo_adt_classrun~main.
  DATA: lt_table TYPE TABLE OF zformtemplate_01,
          ls_table LIKE LINE OF lt_table,
          lv_text  TYPE string.

    lv_text = ''.
    ls_table-formid = 'ZDEMOTEST'.
    ls_table-form_binary = cl_abap_conv_codepage=>create_out( )->convert( lv_text ).
  MODIFY zformtemplate_01 FROM @ls_table.
  ENDMETHOD.
ENDCLASS.
